/*
 * @Autor: dingxiaolin
 * @Date: 2021-06-02 16:36:24
 * @LastEditors: dingxiaolin
 * @LastEditTime: 2021-06-11 15:13:45
 */

export const mutations = {
    sexList: (state, sexList) => {
        state.sexList = sexList
    },
    filterValue: (state, code) => {
        const item = state.sexList.filter(v => v.code == code)
        return item ? item[0].value : []
    },
}
